package team.you.change.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private String id;

    private String username;

    private String password;

    private String realName;

    private String idNumber;

    private String phone;

    private String email;

    private String head;

    private String teaNo;

    private Integer userType;

    private static final long serialVersionUID = 1L;

    public User() {}

    public User(String id, String username, String password, String realName, String idNumber, String phone, String email, String head, String teaNo, Integer userType) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.idNumber = idNumber;
        this.phone = phone;
        this.email = email;
        this.head = head;
        this.teaNo = teaNo;
        this.userType = userType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber == null ? null : idNumber.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head == null ? null : head.trim();
    }

    public String getTeaNo() {
        return teaNo;
    }

    public void setTeaNo(String teaNo) {
        this.teaNo = teaNo == null ? null : teaNo.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
}